How to avoid whitespace in PHP and ASP.NET? [closed]
Posted
by
Goma
on Programmers
See other posts from Programmers
or by Goma
Published on 2011-03-17T20:39:22Z
Indexed on
2011/03/18
0:18 UTC
Read the original article
Hit count: 237
You know that the PHP interpreter avoids whitespace and comments. However, I have heared that there is something you can do to make the interpreter does not see the whitespace at all and does not even think to avoid it, the same for the compiler in ASP.NET. What is that thing? Is it a function in PHP and a class in ASP.NET? or what exactly?
Edit: For example the php_strip_whitespace function in PHP "Returns the PHP source code in filename with PHP comments and whitespace removed". Will this help in load time?
© Programmers or respective owner